2000-01-07 Jonathan Blandford <jrb@redhat.com>
+ * gdk-pixbuf/gdk-pixbuf-xform.c (gdk_pixbuf_rotate): comment out
+ debugging printing.
+
* gdk-pixbuf/gdk-pixbuf-io.c: Added progressive animation loading.
* gdk-pixbuf/gdk-pixbuf-io.h: Added progressive animation loading.
* gdk-pixbuf/gdk-pixbuf-loader.c: Added progressive animation
* gdk-pixbuf/io-gif.c (image_load_increment): I think the
ref-counting mess is finally fixed. Added progressive animation
loading.
+ (gif_get_lzw): remove memory_leak
* doc/tmpl/gdk-pixbuf-loader.sgml: much longer long description
added.
trans[5] = (double)h / 2.0;
art_affine_multiply(affine, rot, trans);
-
+/*
g_print("Affine: %e %e %e %e %e %e\n", affine[0], affine[1], affine[2],
affine[3], affine[4], affine[5]);
-
+*/
/* rowstride = w * pixbuf->art_pixbuf->n_channels; */
rowstride = w * 3;
}
if (context->animation && context->state == GIF_GET_NEXT_STEP) {
- (* context->frame_done_func) (context->frame,
- context->user_data);
-
- gdk_pixbuf_unref (context->pixbuf);
+ if (context->frame_done_func)
+ (* context->frame_done_func) (context->frame,
+ context->user_data);
+ if (context->frame_done_func)
+ gdk_pixbuf_unref (context->pixbuf);
context->pixbuf = NULL;
context->frame = NULL;
}